package com.fgchen.study.util;

import java.util.Random;
import java.util.UUID;

public class IdGenerator {
    public static String uuid() {
        return UUID.randomUUID().toString().toUpperCase()
                .replace("-", "");
    }

    public String rand() {
        return String.valueOf(new Random().nextLong());
    }
}
